#include <stdio.h>

int main()
{
    double price, pay;
    printf("请输入价格：\n");
    scanf("%lf", &price);
    printf("支付金额：\n");
    scanf("%lf", &pay);
    printf("%.2lf\n", pay - price ); 
    return 0;
}
